'use strict';

import React, {Component, PropTypes} from 'react';

export default class Footer extends Component {
	render() {
		return (
			<div 
				style={{
					backgroundColor: '#444444',
					position: 'fixed',
					bottom: 0,
					left: this.props.left,
					width: document.body.scrollWidth - this.props.left,
					height: this.props.height
				}}
				className="am-vertical-align am-text-center"
			>
				{/*<p
					className="am-text-xs am-margin-0 am-vertical-align-middle"
					style={{
						color: '#ffffff'
					}}
				>
		     Copyright @2015 广州童联信息科技有限公司 粤ICP备 14028342号-2    I   客户服务热线：13825150877 张先生
				</p>*/}
			</div>
		);
	}
}

Footer.propTypes = {
	left: PropTypes.number,
	height: PropTypes.number
};
Footer.defaultProps = {
	left: 0,
	height: 50
};
